The CDF_VARRENAME procedure renames an existing variable in a Common Data Format file.
CDF_VARRENAME, Id, OldVariable, NewName [, /ZVARIABLE]
The CDF ID, returned from a previous call to CDF_OPEN or CDF_CREATE.
A string containing the current name of the variable or the variable number to be renamed.
A string containing the new name for the variable.
If OldVariable is a variable ID (as opposed to a variable name) and the variable is a zVariable, set this flag to indicate that the variable ID is a zVariable ID. The default is to assume that OldVariable is an rVariable ID.
See the example for CDF_VARGET.
Pre 4.0 |
Introduced |